package com.project.server.domain.operate;

import com.project.common.annotation.Excel;
import com.project.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 运营管理应急处理对象 t_operate_emergency
 *
 * @author project
 * @date 2021-06-29
 */
public class TOperateEmergency extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 应急处理ID
     */
    private Long emergencyId;

    /**
     * 应急内容
     */
    @Excel(name = "应急内容")
    private String emergencyContent;

    /**
     * 响应类型(1、全部2、企业3、人员)
     */
    @Excel(name = "响应类型",readConverterExp = "0=全部,1=企业,2=人员")
    private String emergencyType;

    /**
     * 反馈状态
     */
    @Excel(name = "反馈状态" , readConverterExp = "0=前兆阶段,1=紧急阶段,2=谈判阶段,3=解决阶段")
    private String emergencyFeedback;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    public void setEmergencyId(Long emergencyId) {
        this.emergencyId = emergencyId;
    }

    public Long getEmergencyId() {
        return emergencyId;
    }

    public void setEmergencyContent(String emergencyContent) {
        this.emergencyContent = emergencyContent;
    }

    public String getEmergencyContent() {
        return emergencyContent;
    }

    public void setEmergencyType(String emergencyType) {
        this.emergencyType = emergencyType;
    }

    public String getEmergencyType() {
        return emergencyType;
    }

    public void setEmergencyFeedback(String emergencyFeedback) {
        this.emergencyFeedback = emergencyFeedback;
    }

    public String getEmergencyFeedback() {
        return emergencyFeedback;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("emergencyId", getEmergencyId())
                .append("emergencyContent", getEmergencyContent())
                .append("emergencyType", getEmergencyType())
                .append("emergencyFeedback", getEmergencyFeedback())
                .append("createBy", getCreateBy())
                .append("delFlag", getDelFlag())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
